home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
SCDefaultScannerName.z
/
SCDefaultScannerName
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
SSSSCCCCDDDDEEEEFFFFAAAAUUUULLLLTTTTSSSSCCCCAAAANNNNNNNNEEEERRRRNNNNAAAAMMMMEEEE((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo SSSSCCCCDDDDEEEEFFFFAAAAUUUULLLLTTTTSSSSCCCCAAAANNNNNNNNEEEERRRRNNNNAAAAMMMMEEEE((((3333))))
NNNNAAAAMMMMEEEE
SCDefaultScannerName - Getting the default scanner name
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<ssssccccaaaannnnnnnneeeerrrr....hhhh>>>>
cccchhhhaaaarrrr ****SSSSCCCCDDDDeeeeffffaaaauuuullllttttSSSSccccaaaannnnnnnneeeerrrrNNNNaaaammmmeeee((((vvvvooooiiiidddd))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e returns the name of the system default scanner; that
is, the name of the scanner that would be opened if _S_C_O_p_e_n(3) were to be
passed a scanner name of NNNNUUUULLLLLLLL. If there is no default scanner,
_S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e returns NNNNUUUULLLLLLLL. In this case, _S_C_O_p_e_n will open the
first scanner described in /_u_s_r/_l_i_b/_s_c_a_n/_s_c_a_n_n_e_r_s if it is passed a
scanner name of NNNNUUUULLLLLLLL.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
_S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e returns the name of the system default scanner if
one has been set; otherwise NNNNUUUULLLLLLLL is returned.
WWWWAAAARRRRNNNNIIIINNNNGGGG
The return value of _S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e points to memory owned by
_l_i_b_s_c_a_n(3). The calling program should not modify the memory pointed to
by the return value of _S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e, nor should any assumptions
be made about its value after subsequent calls to _S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e.
Any needed information should be copied into program memory before
calling _S_C_D_e_f_a_u_l_t_S_c_a_n_n_e_r_N_a_m_e again.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_l_i_b_s_c_a_n(3), _S_C_O_p_e_n(3), _S_C_G_e_t_S_c_a_n_E_n_t(3), _s_c_a_n_n_e_r_s(1M).
PPPPaaaaggggeeee 1111